MPHB\Core\BookingRulesData D

Total Complexity 201
Dependencies 2
Dependents 1
Total lines 939
Lines of code 510
Logical lines of code 278
Comment lines 166
Methods 23
Properties 15

Methods 23

Method Rating Maintainability Complexity Lines of code
getBookingRulesForDate()
D
25
62 128
__construct()
D
30 36 102
getUnavailableRoomIds()
A
47 15 31
getNotStayInComments()
A
45 13 40
getNotStayInRulesData()
A
52 8 22
getBlockedRoomsCountForRoomType()
A
54 8 20
isBookingRulesViolated()
S
64 7 9
isStayInNotAllowed()
S
58 5 15
isCheckOutNotAllowed()
S
62 5 11
isCheckInNotAllowed()
S
62 5 11
isMaxStayNightsRuleViolated()
S
60 4 13
getMinStayNightsCountForAllSeasons()
S
60 4 13
isCheckInLaterThanMaxAdvanceDate()
S
62 4 12
isMinStayNightsRuleViolated()
S
63 3 11
getMinAdvanceReservationDaysCount()
S
64 3 9
getMaxStayNightsCount()
S
64 3 9
isCheckInEarlierThanMinAdvanceDate()
S
64 3 10
getMinStayNightsCount()
S
64 3 9
getMaxAdvanceReservationDaysCount()
S
64 3 9
getBufferDaysCount()
S
64 3 9
hasBufferDaysRules()
S
80 2 3
getCheckOutWithCorrectTimeInSiteTimeZone()
S
67 1 7
getCheckInWithCorrectTimeInSiteTimeZone()
S
67 1 7